package com.example.cms.dao;

import com.example.cms.entity.Consultant;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ConsultantDao {

    public Consultant  selectConAndCate(Integer consultantId);//List<Consultant>

    public List<Consultant> selectAllConsultant();//分页

    public Integer getNum();//计算数量

    public Integer deleteConsultant(Integer consultantId);//删除

    public Integer updateConsultant(Consultant consultant);//修改

    public Integer insertConsultant(Consultant consultant);//插入
}
